unit WEB;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, FormClass, XPMan, StdActns, ActnList, OleCtrls, SHDocVw;

type
  TfmWEB = class(TfmFormClass)
    WB1: TWebBrowser;
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fmWEB: TfmWEB;

implementation

{$R *.dfm}

procedure TfmWEB.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  inherited;
  Action := caFree;
  fmWEB := nil;
end;

end.

